<template>
	<view>
		<uni-navbar :title="'申请更换课程'"></uni-navbar>

		<view class="block">
			<view class="b-1">
				<view>客户姓名</view>
				<view>王富贵</view>
			</view>
		</view>

		<view class="center">
			<view class="c-block">
				<view class="c-b-1 border">
					<view>原课程：</view>
					<view>2022押题冲刺班</view>
				</view>
				<view class="c-b-1 border">
					<view>原折扣价：</view>
					<view>1000元</view>
				</view>
				<view class="c-b-1">
					<view>原已付款：</view>
					<view>1000元</view>
				</view>
			</view>
		</view>

		<view class="block">
			<view class="b-1">
				<view>校区</view>
				<view>总校<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
		</view>
		
		<view class="block">
			<view class="b-1">
				<view>课程分类</view>
				<view>执业医师，技能<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
			<view class="b-1">
				<view>选择课程</view>
				<view>全程面授班<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
			<view class="b-1">
				<view></view>
				<view>价格680元</view>
			</view>
		</view>

		<!-- 备注 -->
		<view class="mask">
			<view class="m-title">申请原因</view>
			<view class="m-text">
				<u-input type="textarea" v-model="mask" placeholder="请留下建议与意见"></u-input>
				<!-- <textarea v-model="mask" rows="2" placeholder="请留下建议与意见"></textarea> -->
			</view>
		</view>

		<!-- 提交 -->
		<view class="submit" @click="subTijiao">
			提交申请
		</view>
		
		<view style="padding-bottom: 30rpx;"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				mask: ''
			}
		},
		methods: {
			subTijiao() {
				uni.navigateBack({
					delta: 1
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.block {
		width: 750rpx;
		background-color: #fff;
		margin-top: 20rpx;

		.b-1 {
			width: 690rpx;
			height: 78rpx;
			margin-left: 30rpx;
			display: flex;
			justify-content: space-between;
			border-bottom: 1rpx solid #f4f4f4;

			view {
				font-size: 26rpx;
				font-family: Source Han Sans SC;
				font-weight: 600;
				color: #4D4D4D;
				line-height: 78rpx;
			}
		}
	}

	.center {
		width: 750rpx;
		padding: 30rpx;
		background-color: #fff;
		margin-top: 20rpx;

		.c-block {
			width: 100%;
			padding: 20rpx;
			background-color: #F5F5F5;

			.c-b-1 {
				font-size: 26rpx;
				font-family: Source Han Sans SC;
				font-weight: 400;
				color: #666666;
				display: flex;
				justify-content: space-between;
				line-height: 80rpx;
			}

			.border {
				border-bottom: 1rpx solid #e7e7e7;
			}
		}
	}

	.mask {
		width: 750rpx;
		padding: 30rpx;
		background-color: #fff;
		margin-top: 20rpx;

		.m-title {
			font-size: 26rpx;
			font-family: Source Han Sans SC;
			font-weight: 400;
			color: #666666;
			line-height: 60rpx;
		}

		.m-text {
			background-color: #e6e6e6;
			padding: 20rpx;
			border-radius: 10rpx;
			// height: 200rpx;
		}
	}

	.submit {
		width: 690rpx;
		height: 70rpx;
		margin: 30rpx 0 0 30rpx;
		background: #0590FE;
		border-radius: 10rpx;
		font-size: 30rpx;
		font-family: Source Han Sans SC;
		font-weight: 400;
		color: #FFFFFF;
		text-align: center;
		line-height: 70rpx;
	}
</style>
